package com.mustafaiev.tair.cts.dao;

import java.util.List;

import com.mustafaiev.tair.cts.exeptions.DataNotRemovedException;
import com.mustafaiev.tair.cts.model.Payer;

public interface IPayerDAO extends ICostTrackingSystemDAO<Payer> {

    /**
     * Retrieves all payers from Database
     * 
     * @return
     */
    List<Payer> retrievePayers();

    /**
     * Retrieves payer by ID
     * 
     * @param payerId
     * @return
     */
    Payer retrievePayer(Long payerId);

    /**
     * Deletes batch of passed objects
     * 
     * @param objects
     */
    void deleteBatch(List<Payer> objectId)
            throws DataNotRemovedException;

}
